package com.xwj.service;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @author xwj
 * @date 2020/4/14
 */
@Service
public class OddQueueService {
    @Async("oddKeyExecutor")
    public void consumer(Object value) {
        System.out.println(Thread.currentThread().getName() + "奇数内存队列消费：" + value);
    }
}
